GXDrawLine
You can use theGXDrawLine
function to draw a line without creating a line shape.
void GXDrawLine(const gxLine *data);
data
- A pointer to the line geometry you want to draw.
DESCRIPTION
TheGXDrawLine
function draws the line geometry specified by thedata
parameter, using the shape fill, style, ink, and transform of the default line shape.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory parameter_is_nil (debugging version) SEE ALSO
For examples using this function, see "Creating and Drawing Lines" beginning on page 2-36.For more information about lines and the default line shape, see "Line Shapes" on page 2-17.
For the definition of the
gxLine
structure, see page 2-105.For more information about drawing shapes, see the description of the
GXDrawShape
function in the chapter "Shape Objects" in Inside Macintosh: QuickDraw GX Objects.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help